package edu.gduf.entity;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 
 * @author hhx
 *
 */
@Component
@ConfigurationProperties(prefix = "QRCode")
public class QRCode {
	private int width;
	private int height;
	private String format;
	private String charset;
	private String content;

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	public String getFormat() {
		return format;
	}

	public void setFormat(String format) {
		this.format = format;
	}

	public String getCharset() {
		return charset;
	}

	public void setCharset(String charset) {
		this.charset = charset;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Override
	public String toString() {
		return "QRCode [width=" + width + ", height=" + height + ", format=" + format + ", charset=" + charset
				+ ", content=" + content + "]";
	}

}
